<?php

if (!isset($_SESSION)) {
	session_start();
}

require_once 'class/config.php';

$chooseContent = new ChooseContent();
$conclusionString = 'Paris, 9 December 1948<superscript>1</superscript>';
$eFString = '12 January 1951, in accordance with article XIII';
$registrationString = '12 January 1951, No. 1021';
$ratificationString = '22 Mar	 1956 a';
$ratificationString2 = '8 Jul	 1949';

$conclusionData = $chooseContent->getConclusionData($conclusionString);
$efData = $chooseContent->getEFData($eFString);
$registrationData = $chooseContent->getRegistrationData($registrationString);
$ratificationData = $chooseContent->getRatificationData($ratificationString);

$output = 'Conclusion place : ' . $conclusionData['place'] . ' ;<br />
	Conclusion date :' . $conclusionData['date'] . ';<br />
	Entry into force date : ' . $efData['date'] . ';<br />
	Entry into force text : ' . $efData['text'] . ';<br />
	Registration date : ' . $registrationData['date'] . ';<br />
	Registration No : ' . $registrationData['No'] . ';<br />
	Signature date : ' . $ratificationData['date'] . ';<br />
	Signature details : ' . $ratificationData['details'] . ';';

echo $output;